golang.org/x/sync/errgroup.Group.sem (field)
11 uses
golang.org/x/sync/errgroup (current package)
errgroup.go#L27: sem chan token
errgroup.go#L34: if g.sem != nil {
errgroup.go#L35: <-g.sem
errgroup.go#L67: if g.sem != nil {
errgroup.go#L68: g.sem <- token{}
errgroup.go#L91: if g.sem != nil {
errgroup.go#L93: case g.sem <- token{}:
errgroup.go#L125: g.sem = nil
errgroup.go#L128: if len(g.sem) != 0 {
errgroup.go#L129: panic(fmt.Errorf("errgroup: modify limit while %v goroutines in the group are still active", len(g.sem)))
errgroup.go#L131: g.sem = make(chan token, n)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |